<?php
defined('_JEXEC') or die('Restricted access');
class menuHelper
{
	function getmenu($params)
	{
		$menutype = $params['menutype'];
		$sqlmenu="select id, name, alias, link from dm_menu where published=1 AND menutype='$menutype' ORDER BY ordering";
		$querymenu=mysql_query($sqlmenu);	
		return  $querymenu;
	}
}